<%--
  Created by IntelliJ IDEA.
  User: cyy
  Date: 2018/11/14
  Time: 15:00
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@include file="/common/taglibs.jspf" %>
<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title></title>
    <meta name="decorator" content="form"/>
    <style>
        .table > thead > tr > th,
        .table > tbody > tr > th,
        .table > tfoot > tr > th,
        .table > thead > tr > td,
        .table > tbody > tr > td,
        .table > tfoot > tr > td {
            vertical-align: middle;
        }
    </style>
</head>

<body class="white-bg" formid="drugInForm">
<form:form id="drugInForm" modelAttribute="data" action="" method="post" class="form-horizontal">
    <table class="table table-bordered  table-condensed dataTables-example dataTable no-footer">
        <tbody>
        <tr>
            <td class="active"><label class="pull-right"><font color="red">*</font>科室编号:</label></td>
            <td>
                <form:input path="code" class="form-control" datatype="*"
                            nullmsg="请输入科室编号！"/>
                <label class="Validform_checktip"></label>
            </td>
            <td class="width-15 active text-right"><label><font color="red">*</font>科室名称:</label></td>
            <td class="width-35">
                <form:input path="name" id="name" class="form-control" datatype="*" nullmsg="请输入科室名称！"/>
                <label class="Validform_checktip"></label>
            </td>
        </tr>
        <tr>
            <td class="width-15 active text-right">
                <label><font color="red">*</font>上级ID:</label>
            </td>
            <td class="width-35">
                <form:input path="parentId" class="form-control" datatype="n"
                            nullmsg="请输入上级ID！" htmlEscape="false"/>
                <label class="Validform_checktip"></label>
            </td>
            <td class="width-15 active text-right">
                <label><font color="red">*</font>级别:</label>
            </td>
            <td class="width-35">
                <form:input path="deptLevel" class="form-control" datatype="n" nullmsg="请输入级别！"/>
                <label class="Validform_checktip"></label>
            </td>
        </tr>
        <tr>
            <td class="width-15 active text-right">
                <label><font color="red">*</font>排序号:</label>
            </td>
            <td class="width-35">
                <form:input path="sort" class="form-control" datatype="n" nullmsg="请输入排序号！"/>
                <label class="Validform_checktip"></label>
            </td>
            <td class="width-15 active text-right">
                <label><font color="red">*</font>是否启用:</label>
            </td>
            <td class="width-35">
                <form:select path="enable" dict="whether" class="form-control " datatype="*" htmlEscape="false"
                             nullmsg="请选择是否启用！">
                </form:select>
                <label class="Validform_checktip"></label>
            </td>
        </tr>
        <tr>
            <%--<td class="width-15 active text-right">--%>
                <%--<label><font color="red">*</font>血站科室编码:</label>--%>
            <%--</td>--%>
            <%--<td class="width-35">--%>
                <%--<form:input path="bloodStationCode" class="form-control" datatype="*"/>--%>
                <%--<label class="Validform_checktip"></label>--%>
            <%--</td>--%>
        </tr>
        </tbody>
    </table>
</form:form>
</body>
</html>